#ifndef __XSIP_OBJECT_H__
#define __XSIP_OBJECT_H__

#ifdef WIN32
#ifdef LIBXSIP_EXPORTS
#define XSIP_API __declspec(dllexport)
#else
#define XSIP_API __declspec(dllimport)
#endif
#else
#define XSIP_API
#endif

class XSIP_API XSIPObject {
public:
	XSIPObject();
	virtual ~XSIPObject();
	int getHandler();
	virtual void* getObject(const char* name) const;
protected:
	static int s_handler;
	int m_handler;
};

#endif